package com.example.fiction.ui.fragment.bookCity;

import android.app.Application;
import android.databinding.ObservableField;
import android.support.annotation.NonNull;

import me.goldze.mvvmhabit.base.BaseViewModel;

/**
 * auth: 姚鸿杰
 * time: 2019/3/19 22:01
 **/
public class BookCityViewModel extends BaseViewModel {

    public ObservableField<String> title = new ObservableField<>("书城");

    public BookCityViewModel(@NonNull Application application) {
        super(application);
    }

    public void setTitle(String title){
        this.title.set(title);
    }
}
